package com.jiang.jixiang.ui.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.jiang.jixiang.R;
import com.jiang.jixiang.bean.SellerInfoBean;
import com.jiang.jixiang.bean.SellerListBean;

public class SearchAdapter extends BaseQuickAdapter<SellerListBean, BaseViewHolder> {

    public SearchAdapter() {
        super(R.layout.item_search);
    }


    @Override
    protected void convert(@NonNull BaseViewHolder holder, SellerListBean bean) {
        holder.setText(R.id.tvItemName, bean.getName());
        holder.setText(R.id.tvItemAddress, bean.getAddress());
    }
}
